package com.zzyl.nursing.service;

import java.util.List;
import com.zzyl.nursing.domain.CheckIn;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.CheckInApplyDto;
import com.zzyl.nursing.vo.CheckInDetailVo;

/**
 * inService接口
 * 
 * @author lhs
 * @date 2025-05-23
 */
public interface ICheckInService extends IService<CheckIn>
{
    /**
     * 查询in
     * 
     * @param id in主键
     * @return in
     */
    public CheckIn selectCheckInById(Long id);

    /**
     * 查询in列表
     * 
     * @param checkIn in
     * @return in集合
     */
    public List<CheckIn> selectCheckInList(CheckIn checkIn);

    /**
     * 新增in
     * 
     * @param checkIn in
     * @return 结果
     */
    public int insertCheckIn(CheckIn checkIn);

    /**
     * 修改in
     * 
     * @param checkIn in
     * @return 结果
     */
    public int updateCheckIn(CheckIn checkIn);

    /**
     * 批量删除in
     * 
     * @param ids 需要删除的in主键集合
     * @return 结果
     */
    public int deleteCheckInByIds(Long[] ids);

    /**
     * 删除in信息
     * 
     * @param id in主键
     * @return 结果
     */
    public int deleteCheckInById(Long id);

    void apply(CheckInApplyDto checkInApplyDto);

    CheckInDetailVo detail(Integer id);
}
